import typescript from '@rollup/plugin-typescript'

import pkg from './package.json' assert { type: 'json' }
export default {
  input: './src/index.ts',
  output: [
    { format: 'es', file: pkg.module },
    { format: 'cjs', file: pkg.main }
  ],
  plugins: [typescript()]
}
